package com.evil.plugin.es;

import org.elasticsearch.script.TemplateScript;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

/**
 * @author liyang
 * @date 2024-08-12 10:07
 */
public class RemoteExecutableScript extends TemplateScript {
    private static final Logger logger = LoggerFactory.getLogger(RemoteExecutableScript.class);

    public RemoteExecutableScript(Map<String, Object> params) {
        super(params);
    }

    @Override
    public String execute() {
        logger.info("RemoteExecutableScript|execute");
        return null;
    }
}
